﻿<phone:PhoneApplicationPage 
    x:Class="SpeedRun.RunType"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="CornflowerBlue"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    xmlns:pivot="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    shell:SystemTray.ForegroundColor="CornflowerBlue"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <StackPanel>
            <TextBlock FontSize="45" Text="Choose Workout" />
            <pivot:Pivot Width="480" Height="670" Foreground="CornflowerBlue">
            <pivot:PivotItem Header="Basic" >
                    <StackPanel Loaded="StackPanel_Loaded">
                        <toolkit:ListPicker x:Name="basicList" />
                        <Button Content="Tell Friends on Facebook" Foreground="CornflowerBlue" BorderBrush="CornflowerBlue" Click="Button_Click_3"/>
                        <Button Content="Basic" Click="Button_Click" Foreground="CornflowerBlue" BorderBrush="CornflowerBlue"/>

                        <StackPanel Orientation="Horizontal">
                            <HyperlinkButton Content="Help" Width="240" Click="HyperlinkButton_Click_1" />
                            <HyperlinkButton Content=" Settings" Width="240" Click="HyperlinkButton_Click" />
                        </StackPanel>
                    </StackPanel>
                </pivot:PivotItem>
                <pivot:PivotItem Header="Time" >
                    <StackPanel>
                        <TextBlock Text="Enter Time in Minutes" x:Name="time" />
                        <!--<RadioButton>
                            <RadioButton.Content>-->
                        <TextBox Text=" " Width="400" x:Name="timing" />
                            <!--</RadioButton.Content>
                        </RadioButton>-->
                        <TextBlock Text="Enter the Time Limit (Hr:Min)" />
                        <!--<RadioButton>
                            <RadioButton.Content>
                                <toolkit:TimePicker x:Name="timePicker" Width="400" />
                            </RadioButton.Content>
                        </RadioButton>-->
                        <Button Content="Time Challenge" Click="Button_Click_1" Foreground="CornflowerBlue" BorderBrush="CornflowerBlue" />

                        <StackPanel Orientation="Horizontal">
                            <HyperlinkButton Content="Help" Width="240" Click="HyperlinkButton_Click_1" />
                            <HyperlinkButton Content=" Settings" Width="240" Click="HyperlinkButton_Click" />
                        </StackPanel>
                    </StackPanel>
                </pivot:PivotItem>
                <pivot:PivotItem Header="Distance" >
                    <StackPanel>
                        <TextBlock Text="Enter the Distance(in Meters):" />
                        <TextBox x:Name="distance" />
                        <Button Content="Distance" Click="Button_Click_2" Foreground="CornflowerBlue" BorderBrush="CornflowerBlue" />
                        <TextBlock Text="Note: Distance is calculated and maped onto Maps by Algorithms based on GPS positions. Slight Errors may occur and should be ignored by the user" TextWrapping="Wrap"/>

                        <StackPanel Orientation="Horizontal">
                            <HyperlinkButton Content="Help" Width="240" Click="HyperlinkButton_Click_1" />
                            <HyperlinkButton Content=" Settings" Width="240" Click="HyperlinkButton_Click" />
                        </StackPanel>
                    </StackPanel>
                </pivot:PivotItem>
            </pivot:Pivot>
   
        </StackPanel>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
